package com.kcyu.sfherp.entity.utilEntity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Collections;
import java.util.List;

@Data
public class PageEntity<T> {

    private Integer page;
    private Integer pageSize;
    private Long total;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    private List<T> records = Collections.EMPTY_LIST;
    private T queryCondition;
    private Float totalWeight;
    private Float totalMoney;



}
